{% extends "base_generic.html" %}
{% block content %}
        <h1><a href="/tutoriales">Tutoriales</a></h1>
        <h2><a href="/admin/tutoriales//new/" class="add">Añadir tutorial</a></h2>
        <table class="imgswithoutborders">
        {% for tutorial in tutoriales %}
          <tr>
            <td>{{ tutorial.title }}</td>
            <td><a href="/tutorial/{{ tutorial.slug }}">Public</a></td>
            <td><a href="/admin/tutoriales/{{ tutorial.key }}/edit/">Editar</a></td>
            <td><a href="/admin/tutoriales/{{ tutorial.key }}/delete/" onclick="if(confirm('¿Do you really want to delete {{ tutorial.name }}?')){return true;}else{return false;}">Borrar</a></td>
          </tr>
        {% endfor %}
        </table>

{% endblock %}
